class CompanyUserModelData {
  int errcode;
  String message;
  _Data data;

  CompanyUserModelData({this.errcode, this.message, this.data});

  CompanyUserModelData.fromJson(Map<String, dynamic> json) {
    errcode = json['errcode'];
    message = json['message'];
    data = json['data'] != null ? new _Data.fromJson(json['data']) : null;
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['errcode'] = this.errcode;
    data['message'] = this.message;
    if (this.data != null) {
      data['data'] = this.data.toJson();
    }
    return data;
  }
}

class _Data {
  List<CompanyUserModel> list;
  int count;

  _Data({this.list, this.count});

  _Data.fromJson(Map<String, dynamic> json) {
    if (json['list'] != null) {
      list = new List<CompanyUserModel>();
      json['list'].forEach((v) {
        list.add(new CompanyUserModel.fromJson(v));
      });
    }
    count = json['count'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    if (this.list != null) {
      data['list'] = this.list.map((v) => v.toJson()).toList();
    }
    data['count'] = this.count;
    return data;
  }
}

class CompanyUserModel {
  int id;
  String stewardUserId;
  String stewardUserAccount;
  String stewardMobilePhone;
  String stewardUserPassword;
  String stewardUserName;
  String stewardIdentityNo;
  String stewardUserAvatar;
  String stewardUserNickName;
  int stewardTradeAccountType;
  String stewardAlipayAccount;
  String stewardAlipayUserName;
  int stewardUserSource;
  String stewardRegisterTime;
  String stewardRegisterAddress;
  String stewardRegisterLatitude;
  String stewardRegisterLongitude;
  int stewardUserState;
  String stewardUserCreateUser;
  String createUser;
  String createTime;
  String updateUser;
  String updateTime;
  String stewardComName;
  String suserRoleBaseName;

  CompanyUserModel(
      {this.id,
      this.stewardUserId,
      this.stewardUserAccount,
      this.stewardMobilePhone,
      this.stewardUserPassword,
      this.stewardUserName,
      this.stewardIdentityNo,
      this.stewardUserAvatar,
      this.stewardUserNickName,
      this.stewardTradeAccountType,
      this.stewardAlipayAccount,
      this.stewardAlipayUserName,
      this.stewardUserSource,
      this.stewardRegisterTime,
      this.stewardRegisterAddress,
      this.stewardRegisterLatitude,
      this.stewardRegisterLongitude,
      this.stewardUserState,
      this.stewardUserCreateUser,
      this.createUser,
      this.createTime,
      this.updateUser,
      this.updateTime,
      this.stewardComName,
      this.suserRoleBaseName});

  CompanyUserModel.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    stewardUserId = json['stewardUserId'];
    stewardUserAccount = json['stewardUserAccount'];
    stewardMobilePhone = json['stewardMobilePhone'];
    stewardUserPassword = json['stewardUserPassword'];
    stewardUserName = json['stewardUserName'];
    stewardIdentityNo = json['stewardIdentityNo'];
    stewardUserAvatar = json['stewardUserAvatar'];
    stewardUserNickName = json['stewardUserNickName'];
    stewardTradeAccountType = json['stewardTradeAccountType'];
    stewardAlipayAccount = json['stewardAlipayAccount'];
    stewardAlipayUserName = json['stewardAlipayUserName'];
    stewardUserSource = json['stewardUserSource'];
    stewardRegisterTime = json['stewardRegisterTime'];
    stewardRegisterAddress = json['stewardRegisterAddress'];
    stewardRegisterLatitude = json['stewardRegisterLatitude'];
    stewardRegisterLongitude = json['stewardRegisterLongitude'];
    stewardUserState = json['stewardUserState'];
    stewardUserCreateUser = json['stewardUserCreateUser'];
    createUser = json['createUser'];
    createTime = json['createTime'];
    updateUser = json['updateUser'];
    updateTime = json['updateTime'];
    stewardComName = json['stewardComName'];
    suserRoleBaseName = json['suserRoleBaseName'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['stewardUserId'] = this.stewardUserId;
    data['stewardUserAccount'] = this.stewardUserAccount;
    data['stewardMobilePhone'] = this.stewardMobilePhone;
    data['stewardUserPassword'] = this.stewardUserPassword;
    data['stewardUserName'] = this.stewardUserName;
    data['stewardIdentityNo'] = this.stewardIdentityNo;
    data['stewardUserAvatar'] = this.stewardUserAvatar;
    data['stewardUserNickName'] = this.stewardUserNickName;
    data['stewardTradeAccountType'] = this.stewardTradeAccountType;
    data['stewardAlipayAccount'] = this.stewardAlipayAccount;
    data['stewardAlipayUserName'] = this.stewardAlipayUserName;
    data['stewardUserSource'] = this.stewardUserSource;
    data['stewardRegisterTime'] = this.stewardRegisterTime;
    data['stewardRegisterAddress'] = this.stewardRegisterAddress;
    data['stewardRegisterLatitude'] = this.stewardRegisterLatitude;
    data['stewardRegisterLongitude'] = this.stewardRegisterLongitude;
    data['stewardUserState'] = this.stewardUserState;
    data['stewardUserCreateUser'] = this.stewardUserCreateUser;
    data['createUser'] = this.createUser;
    data['createTime'] = this.createTime;
    data['updateUser'] = this.updateUser;
    data['updateTime'] = this.updateTime;
    data['stewardComName'] = this.stewardComName;
    data['suserRoleBaseName'] = this.suserRoleBaseName;
    return data;
  }
}